are
there!
\stoplines
Apparently, \type{\par} has no effect here:
\startlines
The
lines
are
there!\par% \par has no effect here
The
lines
are
there!
\stoplines
For background, this is what I'm actually trying to do:
\xmlprocessbuffer{test}{test}{}
\stoptext
fullsquare xscaled r yscaled e shifted (r/2, h/2) withcolor darkred;
\stopuseMPgraphic
\defineoverlay [MonGraphisme_OL] [\useMPgraphic{MonGraphisme_MP}]
\setupbackgrounds [footer] [rightmargin] [background={MonGraphisme_OL}]
\starttext
\dorecurse{10}{\input tufte\page}
\stoptext
Any clue is warmly
darkred;
\stopuseMPgraphic
\defineoverlay [MonGraphisme_OL] [\useMPgraphic{MonGraphisme_MP}]
\setupbackgrounds [footer] [rightmargin] [background={MonGraphisme_OL}]
\starttext
\dorecurse{10}{\input tufte\page}
\stoptext
Any clue is warmly welcome
it be done manually ?
Thanks for your help.
List :
Command/ attachment
Command/ background
Command/ bar
Command/ beginblock
Command/ button
Command/ characterkerning
Command/ comment
Command/ completecombinedlist
Command/ completelistoffloats
Command/ completelistofsorts
Command/ completeli
I've found my original file and the image is as Hraban says below. The
code is the original in the post I quoted and gives a green background
with shaded colours in the text.
Best Wishes
Keith
On 07/04/2024 18:42, Henning Hraban Ramm wrote:
Am 07.04.24 um 19:05 schrieb Hans Hagen
r sample makes no use of it.
Sorry, but I don’t get it.
> \defineenumeration
> [theorem]
> [
> text=Theorem,
> title=yes,
> width=fit,
> distance=0.2em,
> alternative=serried,
> ]
> \definetextbackground[GrayBackground][
> locatio
=footer]
\setupheadertexts[\CONTEXT\ imposition test]
\showframe
\setupbackgrounds [text][text][background=color,backgroundcolor=lightgray]
% Where the block of pages is placed on the sheet
% (relevant if there is space left over.)
\setuplayout [location=middle,marking=on]
\startbuffer[Fakepage
orry, but I don’t get it.
> \defineenumeration
> [theorem]
> [
> text=Theorem,
> title=yes,
> width=fit,
> distance=0.2em,
> alternative=serried,
> ]
> \definetextbackground[GrayBackground][
> location=paragraph,
> background=color,
>
=paragraph,
background=color,
backgroundcolor=lightgray,
leftoffset=.5\bodyfontsize,
rightoffset=.5\bodyfontsize,
topoffset=.5\bodyfontsize,
bottomoffset=.5\bodyfontsize,
frame=off,]
\margintext{\blackrule[color=black, height=0.10ex, width=1cm]\\}
\blackrule[color=black, height=0.10ex
mula
\samplefile{knuth}
\stoptext
\unprotect
\newbox\hightlight_tmp_box
\definemathframed[_highlight][
location=mathematics,
frame=off,
background=color,
backgroundcolor=lightred,
backgroundoffset=0.25ex,
]
\tolerant\def\highlighthere#1\alignhere#2#3\breakhere{%
\setbo
\starttext.
Best regards: Otared
% begin textbackground-Ursula.tex
\definetextbackground[myBG][
location=paragraph,
background=color,
backgroundcolor=lightgray,
leftoffset=.8\bodyfontsize,
rightoffset=.8\bodyfontsize,
topoffset=.5\bodyfontsize,
bottomoffset=.5\bodyfontsize,
frame
Dear List,
I need a tip how to do this:
In the command \definepapersize[Mybook] the height should be not 24 cm, but a
little bit longer. My Problem is, as you can see on the PDF, that there are
troubles with the Gray Background. The Gray Background should begin with :
Mitunter. . I think
] [sans] [FreeSans] [rscale=0.7]
\definefontfamily[mainface] [serif] [GFS Didot]
\setupbodyfont[mainface]
\setupindenting[1.5em]
\setupindenting[yes]
\setupcolors[state=start]
\defineframedtext
[MyFrame]
[before={\blank},
after={\blank},
frame=off,
background=MyFrame,
%width=\textwidth
Dear List,
At Work everything works fine now. Many thanks for those, who have written me.
I have a question to my paragraphs:
\definetextbackground[Paragaph][
location=paragraph,
background=color,
backgroundcolor=lightgray,
leftoffset=.5\bodyfontsize,
rightoffset=.5\bodyfontsize
r][first][style=bold]
\setupTABLE[r][each][
topoffset=1em,bottomoffset=0.5em,
background=sketchylines,
% would be nice if the background wouldn’t start at each column
]
\setupTABLE[c][each][frame=off]
\bTABLE[]
\bTR
\bTD{Stadt}\eTD
\bTD{Land}\eTD
\bTD{Fluss}\eTD
\eTR
\dorecurse
On 2/21/2024 7:47 PM, Henning Hraban Ramm wrote:
Am 21.02.24 um 19:43 schrieb Wolfgang Schuster:
… but it would be visible on a colored background. I’m sure you can
show me a better way…
\startuseMPgraphic{dottedborder}
draw bottomboundary OverlayBox withpen pencircle scaled 2 dashed
Am 21.02.24 um 19:43 schrieb Wolfgang Schuster:
… but it would be visible on a colored background. I’m sure you can
show me a better way…
\startuseMPgraphic{dottedborder}
draw bottomboundary OverlayBox withpen pencircle scaled 2 dashed
withdots withcolor "red";
setbounds curr
(OverlayBox is the size
of the cell).
begin example
\startuseMPgraphic{dottedborder}
draw OverlayBox withpen pencircle scaled 2 dashed withdots
withcolor "red";
\stopuseMPgraphic
\defineoverlay[dottedborder][\useMPgraphic{dottedborder}]
\starttext
\bTABLE[frame=off,
example
\startuseMPgraphic{dottedborder}
draw OverlayBox withpen pencircle scaled 2 dashed withdots withcolor
"red";
\stopuseMPgraphic
\defineoverlay[dottedborder][\useMPgraphic{dottedborder}]
\starttext
\bTABLE[frame=off,background=dottedborder]
Thank you!
Since I needed only horizo
OverlayBox withpen pencircle scaled 2 dashed withdots withcolor
"red";
\stopuseMPgraphic
\defineoverlay[dottedborder][\useMPgraphic{dottedborder}]
\starttext
\bTABLE[frame=off,background=dottedborder]
\bTR
\bTD Hello Table! \eTD
\eTR
\eTABLE
\stoptext
end example
TEXpage[offset=1DK]
> > \useMPgraphic{layerset#1}
> > \stopTEXpage
> > }
> >
> > if that is the looping you are after.
> >
> > /Mikael
> >
> > On Fri, Feb 16, 2024 at 6:54 AM Emanuel Han via ntg-context
> > wrote:
> > >
&g
; in base. And then do
>
> \dorecurse{5}{
> \startTEXpage[offset=1DK]
> \useMPgraphic{layerset#1}
> \stopTEXpage
> }
>
> if that is the looping you are after.
>
> /Mikael
>
> On Fri, Feb 16, 2024 at 6:54 AM Emanuel Han via ntg-context
> wrote:
> >
> > Resp.
e same background colour and a page number and the metapost content on each page has the same scaling factor.>> On Feb. 15 2024, at 11:10 pm, Emanuel Han via ntg-context wrote:>> Dear Mikael,>> I actually need to keep the \dorecurse mechanism of the mwe (from line 44 on), becau
ikael
> On Fri, Feb 16, 2024 at 6:54 AM Emanuel Han via ntg-context
> wrote:
> >
> > Resp. the solution should be such that each generated PDF page has the same
> > dimension, the same background colour and a page number and the metapost
> > content on each page has t
Emanuel Han via ntg-context
wrote:
>
> Resp. the solution should be such that each generated PDF page has the same
> dimension, the same background colour and a page number and the metapost
> content on each page has the same scaling factor.
>
> On Feb. 15 2024, at 11:10 pm, E
Resp. the solution should be such that each generated PDF page has the same
dimension, the same background colour and a page number and the metapost
content on each page has the same scaling factor.
On Feb. 15 2024, at 11:10 pm, Emanuel Han via ntg-context
wrote:
> Dear Mikael,
>
> I
ed 1mm rightenlarged 1mm; draw topboundary OverlayBox leftenlarged 1mm rightenlarged 1mm;\stopuseMPgraphic\defineoverlay [verticalrule] [\useMPgraphic{verticalrule3}]\setuppagenumbering[state=stop]\setupexternalfigures[location={local,defalut}]\definecolumnset [quiz] [n=2,background=vertic
leftenlarged 1mm rightenlarged 1mm;\stopuseMPgraphic\defineoverlay [verticalrule] [\useMPgraphic{verticalrule3}]\setuppagenumbering[state=stop]\setupexternalfigures[location={local,defalut}]\definecolumnset [quiz] [n=2,background=verticalrule]\setupbodyfont[bonum, rm, 11pt]\starttext %\startcolumns[n=2
=paragraph,
%% offset=overlay, %% does nothing
%% backgroundoffset=overlay, %% does nothing
%% depthcorrection=off, %% does nothing
%% topoffset=3mm,%% works, but only for positive values
background=,
frame=on]
\starttext
\startframedtext
tion=paragraph,
>%% offset=overlay, %% does nothing
>%% backgroundoffset=overlay, %% does nothing
>%% depthcorrection=off, %% does nothing
>%% topoffset=3mm,%% works, but only for positive values
>background=,
>frame=on]
>
card memory” patterns as a background
(thanks, Hans!).
I tried to sketch the relationship of Lua/TeX/MetaPost in LuaMetaTeX and
ConTeXt LMTX around it, with different inputs and PDF/XML output – don’t
know yet how to make this easily understandable…
ConTeXt is interesting for people
> >> \definefontsynonym [SerifItalic] [notonaskharabic-Italic] [features=fea]
> > >> \definefontsynonym [SerifBold] [notonaskharabic-Bold] [features=fea]
> > >> \definefontsynonym [SerifBoldItalic] [notonaskharabic-Bold-Italic]
> > >> [features=fea]
> > >
[GrayBackground][
location=paragraph,
background=color,
backgroundcolor=lightgray,
leftoffset=.5\bodyfontsize,
rightoffset=.5\bodyfontsize,
topoffset=.5\bodyfontsize,
bottomoffset=.5\bodyfontsize,
frame=off,]
\margintext{\blackrule[color=black, height=0.10ex, width=1cm]\\}
\blackr
rnative=serried,
]
\definetextbackground[GrayBackground][
location=paragraph,
background=color,
backgroundcolor=lightgray,
leftoffset=.5\bodyfontsize,
rightoffset=.5\bodyfontsize,
topoffset=.5\bodyfontsize,
bottomoffset=.5\bodyfontsize,
frame=off,]
\margintext{\blackrule[color=black, height=0.
=on,bottomframe=on,rulethickness=1pt,width=1.90cm]
\defineenumeration
[theorem]
[
text=Theorem,
title=yes,
width=fit,
distance=0.2em,
alternative=serried,
]
\definetextbackground[paragraph][
location=paragraph,
background=color,
backgroundcolor=lightgray,
leftoffset=.5\bodyfontsize
Am 13.12.23 um 18:55 schrieb Wolfgang Schuster:
Henning Hraban Ramm schrieb am 13.12.2023 um 18:19:
Am 13.12.23 um 19:03 schrieb Fabrice Couvreur:
Hi,
Is this a bug or not ?
The key to coloring the background of the text seems to no longer work.
Thanks
Fabrice
\definecolor[ColorA][0.8
Henning Hraban Ramm schrieb am 13.12.2023 um 18:19:
Am 13.12.23 um 19:03 schrieb Fabrice Couvreur:
Hi,
Is this a bug or not ?
The key to coloring the background of the text seems to no longer work.
Thanks
Fabrice
\definecolor[ColorA][0.8(white)]
\definecolor[MyColorA][.75(MyColorB,white
Am 13.12.23 um 18:19 schrieb Wolfgang Schuster:
Fabrice Couvreur schrieb am 13.12.2023 um 19:03:
Hi,
Is this a bug or not ?
The key to coloring the background of the text seems to no longer work.
There is a problem with the corner option, you can either hope it gets
fixed in the next release
Fabrice Couvreur schrieb am 13.12.2023 um 19:03:
Hi,
Is this a bug or not ?
The key to coloring the background of the text seems to no longer work.
There is a problem with the corner option, you can either hope it gets
fixed in the next release
(corner=round still works) or create your own
Am 13.12.23 um 19:03 schrieb Fabrice Couvreur:
Hi,
Is this a bug or not ?
The key to coloring the background of the text seems to no longer work.
Thanks
Fabrice
\definecolor[ColorA][0.8(white)]
\definecolor[MyColorA][.75(MyColorB,white)]
I never saw this syntax in ConTeXt.
That doesn’t
Hi,
Is this a bug or not ?
The key to coloring the background of the text seems to no longer work.
Thanks
Fabrice
\definecolor[MyColorC][s=0.8784]
\definecolor[MyColorD][m=0.27,y=1]
\definecolor[ColorA][0.8(white)]
\definecolor[MyColorB][c=0.00, m=0.62, y=1.00, k=0.00]
\definecolor
,
]
\definetextbackground[paragraph][
location=paragraph,
background=color,
backgroundcolor=lightgray,
leftoffset=.5\bodyfontsize,
rightoffset=.5\bodyfontsize,
topoffset=.5\bodyfontsize,
bottomoffset=.5\bodyfontsize,
before={\switchtobodyfont[global]},
after={},
frame=off
,
background=color,
backgroundcolor=yellow,
framecorner=13,
backgroundcorner=07,
backgroundoffset=0.5em,
]{Das Runde muss ins Eckige}
\blank
\framed[
frame=on,
corner=round,
frameoffset=0.5em,
framecolor=black,
background=color,
backgroundcolor=darkgreen,
backgroundoffset=1em
ext] Re: Colored Paragraph
>
> Am 05.12.23 um 14:16 schrieb Ursula Hermann:
>> The paragraph should have a color in the background. How can I get an
>> colored paragraph?
>
> Did you try \definetextbackground?
>
> https://wiki.contextgarden.ne
in the background. How can I get an
colored paragraph?
Did you try \definetextbackground?
https://wiki.contextgarden.net/TextBackground
https://wiki.contextgarden.net/Command/definetextbackground
Hraban
___
If your
:
> The paragraph should have a color in the background. How can I get an
> colored paragraph?
Did you try \definetextbackground?
https://wiki.contextgarden.net/TextBackground
https://wiki.contextgarden.net/Command/definetextbackground
: Colored Paragraph
Am 05.12.23 um 14:16 schrieb Ursula Hermann:
> The paragraph should have a color in the background. How can I get an
> colored paragraph?
Did you try \definetextbackground?
https://wiki.contextgarden.net/TextBackground
https://wiki.contextgarden.net/Command/definetextback
Am 05.12.23 um 14:16 schrieb Ursula Hermann:
The paragraph should have a color in the background. How can I get an
colored paragraph?
Did you try \definetextbackground?
https://wiki.contextgarden.net/TextBackground
https://wiki.contextgarden.net/Command/definetextbackground
Hraban
Hasselt his consent in
1486.
\blank
Other cities in the neighbourhood of Hasselt were afraid of the
toll money to be paid when crossing this bridge so they
prevented the construction for many years.
\stopparagraph
\stoptext
The paragraph should have a color in the background. How can I get an colored
[background=signature,framecolor=darkred]
{\fieldbody[signature][width=3cm,option=hidden]}
\stopTEXpage
\stoptext
after neing processed:
mtxrun --script pdf --sign --certificate=sign-001.pem --password=test
sign-001 (--library)
and:
mtxrun --script pdf --validate
> >>
> >> \startMPinclusions
> >>
> >> picture p[];
> >> path TheFrame ;
> >> TheFrame := fullsquare scaled 5in ;
> >>
> >> z0 = (0,0);
> >> z1 = (60,40);
> >> z2 = (40,90);
> >> z3 = (10,70);
> >> z4 = (30,50);
> &g
abic-Bold] [features=fea]
> > >> \definefontsynonym [SerifBoldItalic] [notonaskharabic-Bold-Italic]
> > >> [features=fea]
> > >> \stoptypescript
> > >>
> > >> \starttypescript [notonaskharabic]
> > >> \definetypeface [notonaskharabic]
gt;>
> >> \usecolors[crayola]
> >>
> >> \startMPinclusions
> >>
> >> picture p[];
> >> path TheFrame ;
> >> TheFrame := fullsquare scaled 5in ;
> >>
> >> z0 = (0,0);
> >> z1 = (60,40);
> >> z2 = (40,
e := fullsquare scaled 5in ;
> >>
> >> z0 = (0,0);
> >> z1 = (60,40);
> >> z2 = (40,90);
> >> z3 = (10,70);
> >> z4 = (30,50);
> >> z5 = (90,70);
> >> z6 = (-10,70);
> >>
> >> path A; A = z0..z1..z2..z3..z4 ;
artPoint = point 0 of A;
>> pair AEndPoint; AEndPoint = point 4 of A;
>> path B; B = z5..z6;
>> pair BStartPoint; BStartPoint = point 0 of B;
>> pair BEndPoint; BEndPoint = point 1 of B;
>> path C; C = AStartPoint..AEndPoint;
>>
>> p1:=image(
>> draw A w
=image(draw A; label(lmt_outline [
> text = "\JapaneseFont 日本語"
> ], AEndPoint););
>
> p3:=image(
> label(textext("\notonaskharabic \textdir TRT دانگ") scaled 1.2,
> BStartPoint);
> );
>
> p4:=image(draw A; label(lmt_outline [
> text = "\Korea
, AEndPoint););
>
> p3:=image(
> label(textext("\notonaskharabic \textdir TRT دانگ") scaled 1.2, BStartPoint);
> );
>
> p4:=image(draw A; label(lmt_outline [
> text = "\KoreanFont 한국어"
> ], AStartPoint););
>
> p5:=image(
> label(textext("bāng"), BEndPoint);
);
p4:=image(draw A; label(lmt_outline [
text = "\KoreanFont 한국어"
], AStartPoint););
p5:=image(
label(textext("bāng"), BEndPoint);
draw C withcolor green;
);
p6:=image(
draw B withcolor blue;
);
\stopMPinclusions
\starttext
\dorecurse{6}{ % Frame
\setupMPpage[background=colo
e[0] := (0,0);
TheBrownianMotion := Coordinate[0] ;
variance := 10 ;
\stopMPinclusions
\dorecurse{600}{ % Frame
\setupMPpage[background=color, backgroundcolor=SpringGreen]
\startMPpage[pagestate=start]
currentime := #1 ;
% Just for learning :
draw TheFrame withpen pencircle scaled .1in withco
Hi list,
I'm looking to implement a consistent syntax for cross-references in
KeenWrite <https://keenwrite.com/> and am wondering what you think would
make the most sense for translating into ConTeXt commands.
First, some background (the first two give an overview, the others are
cross-ref
nothing
%% depthcorrection=off, %% does nothing
%% topoffset=3mm,%% works, but only for positive values
background=,
frame=on]
\starttext
\startframedtext
\framed{Foo}
\stopframedtext
\starttextbackground
\framed{Foo}
\stoptextbackground
\stoptext
How do
xyscaled
(OverlayWidth-OverlayLineWidth,OverlayHeight-OverlayLineWidth)
withpen pencircle scaled OverlayLineWidth
withcolor OverlayColor ;
\stopusableMPgraphic
\defineoverlay[MetaCirc][\useMPgraphic{MetaCirc}]
a\dontleavehmode\framed
[background=MetaCirc,
bac
[background=BigCirc,
% frame=off,
width=3cm,
height=3cm]
{test}
but bigcirc isn't meant for that
\startusableMPgraphic{MetaCirc}
draw fullcircle
xyscaled
(OverlayWidth-OverlayLineWidth,OverlayHeight-OverlayLineWidth)
withpen pencircle scaled OverlayLineWidth
I have created fonts for my "fictional scripts"[1] using MF[2] and
"converted" them to TTF by importing the bitmap font into the background
layer in Fontforge and tracing it with potrace. It was a long time ago, I
used little metaness beyond setting weight through pen/path wi
but on a specific zoom level.
There are now some bottom white lines too on some zoom levels.
Okay the issue seems to be happening on all pdf files regardless of whether
it was made from context or not. The black background just allows me to
notice it.
Thank you for checking.
On Sat, Oct 28, 2023 at 9
noticed a thin white line on the right side.
>
> Here is a Minimal Working Example:
>
> ConTeXt ver: 2023.09.26 18:19 LMTX
>
> \setupbackgrounds[page][background=color,backgroundcolor=black]
> \setuppagenumbering[alternative=doubles
Hi,
I was using \setuppagenumbering[alternative=doublesided] to get double
sided pages.
After doing that I noticed a thin white line on the right side.
Here is a Minimal Working Example:
ConTeXt ver: 2023.09.26 18:19 LMTX
\setupbackgrounds[page][background=color,backgroundcolor=black
;
draw b;
setbounds currentpicture to OverlayBox;
\stopuseMPgraphic
\defineoverlay
[CountFrame]
[\useMPgraphic{CountFrame}]
\defineframedtext
[CountFramedText]
[frame=off,
background=CountFrame,
offset=\bodyfontsize,
width=\textwidth,
% style={\switchtobodyfont[11pt,tt]}]
bod
CountFrame}]
\defineframedtext
[CountFramedText]
[frame=off,
background=CountFrame,
offset=\bodyfontsize,
width=\textwidth,
% style={\switchtobodyfont[11pt,tt]}]
bodyfont=11pt,
style={\tt},
]
\def\FrameTitle#1%
{\setMPtext{CountFrame}
{\hbox spread 1em{\hss\strut#1\hss}}}\setMPtext{
boundingbox p ;
setbounds currentpicture to unitsquare xyscaled(w,h) ;
\stopuseMPgraphic
\defineoverlay[FunnyFrame][\useMPgraphic{FunnyFrame}]
\defineframedtext[FunnyText][frame=off,background=FunnyFrame]
\def\FrameTitle#1%
{\setMPtext{FunnyFrame}{\hbox spread 1em{\hss\strut#1\hss}}}
\setMPtext{FunnyFrame
,
alternative=setups,
setups=frontispiz,
color=white,
background=color,
backgroundcolor=Eifel,
]
\startsetups[frontispiz]
\starttransparent[tlumi]%
\externalfigure[\structureuservariable{image}][
width=\measure{MaxWidth},
]%
\stoptransparent%
\stopsetups
\setuphead[chapter][
page
right (just “pageinjections“?)
But my “image” consists of a background color (with bleed), a
transparent overlay image (with bleed), a tilted image with a shadow
on top and a caption (so far) – and pageinjection looks fixed to one
image. How can I hook my own placement code in there?
We can discuss
, that might be enough.
(Documented only in https://wiki.contextgarden.net/Command/setuphead
so far. Even the source browser can’t find anything.)
https://source.contextgarden.net/tex/context/base/mkxl/page-inj.mklx
But my “image” consists of a background color (with bleed), a
transparent overlay
://wiki.contextgarden.net/Command/setuphead so
far. Even the source browser can’t find anything.)
But my “image” consists of a background color (with bleed), a
transparent overlay image (with bleed), a tilted image with a shadow on
top and a caption (so far) – and pageinjection looks fixed to one
able{ align = "middle,lohi", bodyfont = "9pt", framecolor =
> "black" }
> context.startxrow{ background = "color", backgroundcolor = "lightgray"
> }
> context.startxcell{ nx = 4 }
> context("Units digit o
is a completed version of what Wolfgang sent:
I guess I completely missed the units digit part :)
%% begin filling-with-lua.tex
\starttext
\startluacode
context.startxtable{ align = "middle,lohi", bodyfont = "9pt",
framecolor = "black" }
context.startxrow{ backgro
filling-with-lua.tex
\starttext
\startluacode
context.startxtable{ align = "middle,lohi", bodyfont = "9pt", framecolor =
"black" }
context.startxrow{ background = "color", backgroundcolor = "lightgray" }
context.sta
, bodyfont = "9pt", framecolor
= "black" }
context.startxrow{ background = "color", backgroundcolor =
"lightgray" }
context.startxcell{ nx = 4 }
context("Units digit of")
context.stopxcell()
context.stopxrow()
Hi,
I'm trying to fill an array using lua. So far it works but then I don't
know if it's possible.
Thanks
Fabrice
\startluacode
context.startxtable({"align={middle,lohi},bodyfont=9pt,framecolor=black"})
context.startxrow({"background=color,
background
cture cross;
> cross := image(draw (0,0)--(1,1); draw (0,1)--(1,0););
> draw cross xscaled \overlaywidth yscaled \overlayheight withpen pencircle
> scaled .8pt ;
> \stopuniqueMPgraphic
>
> \defineoverlay[canceloverlay][\uniqueMPgraphic{cross out}]
>
> \define[1]\cancel{%
>
;
\stopuniqueMPgraphic
\defineoverlay[canceloverlay][\uniqueMPgraphic{cross out}]
\define[1]\cancel{%
\ifmmode
\mframed[background=canceloverlay, frame=off, offset=overlay]{{#1}}%
\else%
\framed[background=canceloverlay, frame=off, offset=overlay]{{#1}}%
\fi%
}
Maybe something else is available nowadays
Hi again,
you could remove the \localcontrolled around the advance
>
I thought I tried that, but the counter incremented to 6, instead of 4.
Using higher-level primitives seems more like the ConTeXt way.
> why twice ? you only have to typeset the text once, right?
> >
>
On 8/12/2023 7:19 PM, Thangalin wrote:
Thanks Hans.
The \newinteger approach would always increment the value, regardless of
conditionals within the MetaPost code (i.e., it was like legend :=
"\ConcurrentTextGet" would always invoke the macro just be referencing the
MPgraphic and nothing would
Thanks Hans.
The \newinteger approach would always increment the value, regardless of
conditionals within the MetaPost code (i.e., it was like legend :=
"\ConcurrentTextGet" would always invoke the macro just be referencing the
MPgraphic and nothing would prevent its execution). This meant that
On 8/11/2023 9:57 PM, Thangalin wrote:
Hi list,
I'm attempting to make a stylized border around paragraphs that can span
pages. The border runs along the side and the top. (Ideally the top border
wouldn't repeat, but that's a minor issue.) The issue I'm having is that
the title for the text
Hi list,
I'm attempting to make a stylized border around paragraphs that can span
pages. The border runs along the side and the top. (Ideally the top border
wouldn't repeat, but that's a minor issue.) The issue I'm having is that
the title for the text doesn't always appear. Instead, there's a
ter the meeting) but here is one:
>
> \starttext
>
> \defineoverlay
>[test]
>[\color
> [blue]
> {TEST
>\inframed
> [foregroundcolor=red]
> {xxx}
> TEST}]
>
> \fr
}
TEST}]
\framed
[background=test,
foregroundstyle=\switchtobodyfont[small]]
{test}
\stoptext
From now on many commands accept (properly) nested [] inside commands
that use [] as fences (like the setup commands) where it makes sense. It
is up to the user
Ṣ {\d{S}}
\defineactivecharacter ṣ {\d{s}}
\stoptext
This should not produce any typeset output but in lmtx it does.
Background: The following characters are essential for Arabic transliteration
(assuming your email client has the chars):
Ṯṯ Ḥḥ Ḫḫ Ḏḏ Šš Ṣṣ Ḍḍ Ṭṭ Ẓẓ Ġġ Āā Īī Ūū ʿ ʾ
I'd use
any typeset output but in lmtx it does.
Background: The following characters are essential for Arabic transliteration
(assuming your email client has the chars):
Ṯṯ Ḥḥ Ḫḫ Ḏḏ Šš Ṣṣ Ḍḍ Ṭṭ Ẓẓ Ġġ Āā Īī Ūū ʿ ʾ
I'd use a different font but as you want to go cheap ... attached gets
you going
.
Background: The following characters are essential for Arabic transliteration
(assuming your email client has the chars):
Ṯṯ Ḥḥ Ḫḫ Ḏḏ Šš Ṣṣ Ḍḍ Ṭṭ Ẓẓ Ġġ Āā Īī Ūū ʿ ʾ
But most really good fonts don't have them, so we have to compose them. Now
there are other methods, e.g,
1) \definecharacter
I
use \setuptyping for the general style with a background box. But that
conflicts with the setups for special cases like code and result side by
side.
I guess I’ll also include this in the CGJ setup.
... attached an extension that supports inheritance (via category),
still honors 'buffer
n (or doc.pdf#nameddest=destination). But it
understands file:///.
MuPDF-GL seems also not to handle named destinations, but it understands
file:/// too.
PDF.js (the default PDF viewer that comes with Firefox) handles named
destinations, but doesn‘t seem to understand file:/// as a link.
> Background
n[item:bla], \in[item:blub].
\stoptext
```
Can I somehow access the references of inner.tex from outer.tex?
For me, it is not that relevant, that the correct number is set, but the
interaction within the outer PDF should work, so clicking on the
reference should scroll to the correct content.
Backgr
gt;
> fill ship xysized (10,5) shifted pos rotatedaround (pos, 15) withcolor red;
> \stopuseMPgraphic
>
> \defineoverlay[Waves][\useMPgraphic{Waves}]
>
> \setupbackgrounds[state=repeat]
> \setupbackgrounds[page][background={Waves}]
>
> \starttext
>
> \dorecurse{10}{\recur
= (0,10)---(70,10)...(60,0)---(10,0)...cycle;
fill ship xysized (10,5) shifted pos rotatedaround (pos, 15) withcolor red;
\stopuseMPgraphic
\defineoverlay[Waves][\useMPgraphic{Waves}]
\setupbackgrounds[state=repeat]
\setupbackgrounds[page][background={Waves}]
\starttext
\dorecurse{10}{\recurs
Well this is fun. Getting the right patterns could make some
interesting with fonts.
Thanks for the tip Hans!
Best Wishes
Keith McKay
%
\startMPpage
vardef tst (expr x, y, i, n) =
definecolor [ name = "MyColor1", r = uniformdeviate(1), g =
uniformdeviate(1), b =
On 7/9/2023 5:56 PM, Henning Hraban Ramm wrote:
Am 09.07.23 um 15:49 schrieb Keith McKay:
Hraban (and others),
You got me thinking so I added this code to end of your code as a bit
of fun. It's code from the luametafun manual to which I added two and
a half lines.
That’s funny.
I replaced
Am 09.07.23 um 15:49 schrieb Keith McKay:
Hraban (and others),
You got me thinking so I added this code to end of your code as a bit of
fun. It's code from the luametafun manual to which I added two and a
half lines.
That’s funny.
I replaced the text by \TeX and published it here:
Hraban (and others),
You got me thinking so I added this code to end of your code as a bit of
fun. It's code from the luametafun manual to which I added two and a
half lines.
Best Wishes
Keith
%%%
\startMPcode
vardef tst (expr x, y, i, n) =
definecolor [ name = "MyColor1", r =
1 - 100 of 4022 matches
Mail list logo